// 课程章节类型
interface CourseChapter {
  title: string;
  number: number;
  video: string[];
  material: string[];
}

// 新增课程请求体类型
interface AddCourseRequest {
  courseName: string;
  subject: number;
  tag: string;
  otherTeacher: string[];
  courseAuth: number;
  class_id: string[];
  courseBrief: string;
  chapter: CourseChapter[];
}

export interface searchCourseRequest {
  type: number;
  course_name: string;
  nickname: string;
  course_desc: string;
  course_tag: string;
  start_time: string;
  end_time: string;
  page: number;
  page_size: number;
}
